package com.cz.cloud.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("t_user")
public class UserEntity implements Serializable {

    private static final long serialVersionUID = 1764441771561062400L;


    /**    **/
    @TableId(value="id",type = IdType.ASSIGN_ID)
    private String id;

    /**    **/
    @TableField("name")
    private String name;

    /**    **/
    @TableField("age")
    private Long age;

    /**    **/
    @TableField("address")
    private String address;

}
